home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / C++ AppleLink Messages / CPlus.Dev$ 5⁄25⁄90 / 0127-C++ Problem,Read Me ! next >
Encoding:
Text File  |  1990-05-24  |  3.2 KB  |  108 lines  |  [TEXT/MPS ]

  1.  
  2. To whom it may concern:
  3.  
  4. I am desperately trying to solve this problem, and I am pleading with anybody to
  5. help me solve it or at least help me verify it...
  6.  
  7. I am using the load/dump feature of C++ and not using the standard load/dump file
  8. that MABuild creates, I create my own load/dump file. I am confident that my MAMake file
  9. is correct.
  10.  
  11. My problem started when I turn on the -sym option.
  12.  
  13. I have a 16000 line C++ project that load/dump works on, it is able to link and generate
  14. correct SADE information. I am wondering why it doesn't work on this small program.
  15.  
  16.  
  17.  
  18. Some of you on this distribution list will get my source code, some will not,
  19. if you want my code, please contact me and I will send it right away.
  20.  
  21. Thank you 
  22. - Bob Pappas
  23. 612-342-1195
  24. Link: D4280
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31. Here is my problem,
  32.  
  33. I build this program with the following versions of software:
  34. C++ 3.?b4
  35. MacApp 2.0 final
  36. MPW 3.1
  37.  
  38. mabuild -names -debug -inspector Shell -linkmap -cplusload -sym       <-- Execute this line 
  39.  
  40. MABuildTool - v. 2.0 Release 3/22/90          Start: 11:13:59 AM 5/24/90
  41.  
  42. Copyright Apple Computer, Inc. 1986-1990
  43. All Rights Reserved.
  44.  
  45. Target Folder: "HD:MPW_Projects:Source_Code:Shell.src:.Debug Sym:"
  46. Making:        Shell.MAMake
  47. C++ Dump: dump.h.dump
  48. Compiling:     TMultiSet.cp
  49. Compiling:     TFMPDataDesc.cp
  50. Compiling:     TFMPMapParse.cp
  51. Compiling:     TFMPDataParse.cp
  52. Compiling:     UShell.cp
  53. Compiling:     MShell.cp
  54. Linking:       Shell
  55. ### While reading file "HD:MPW_Projects:Source_Code:Shell.src:.Debug Sym:UShell.cp.o"
  56. ### Link: Error: Module/EntryPoint has previous (conflicting) type: (Error 14) TSHELLDOCUMENT_ISHELLDOCUMENT (5) 
  57.    <Bad object file or compiler error.> 
  58. ### Link: Error: Internal problem (or bad object file): (Error 91) a scope ID (5) referred to a non-scope object
  59. ### Link: Errors prevented normal completion.
  60. ### MPW Shell - Command " " was not found.
  61. ### MPW Shell - Execution of HD:MPW_Projects:Source_Code:Shell.src:.Debug Sym:Shell.MakeIt terminated.
  62. ### MPW Shell - Execution of mabuild terminated.
  63.  
  64. The above does work however, if I don't generate SADE information.
  65. UShell.cp.o appears to be corrupted.
  66.  
  67.  
  68.  
  69.  
  70. Then I comment out 2 lines of the Shell.MAMake file so it doesn't do load/dump stuff,
  71.  
  72. OtherLinkFiles =     ∂
  73. #                    "{ObjApp}"dump.h.o ∂            <--- comment out this line
  74.                     "{ObjApp}"TMultiSet.cp.o ∂
  75.                      "{ObjApp}"TFMPDataDesc.cp.o ∂
  76.                      "{ObjApp}"TFMPMapParse.cp.o ∂
  77.                      "{ObjApp}"TFMPDataParse.cp.o
  78.  
  79. #CPlusLoadOptions = -mf -load "{ObjApp}"dump.h.dump        <--- comment out this line
  80.  
  81.  
  82. and execute the following:
  83.  
  84. mabuild -names -debug -inspector Shell -linkmap -sym
  85.  
  86. MABuildTool - v. 2.0 Release 3/22/90          Start: 10:47:42 AM 5/24/90
  87.  
  88. Copyright Apple Computer, Inc. 1986-1990
  89. All Rights Reserved.
  90.  
  91. Target Folder: "HD:MPW_Projects:Source_Code:Shell.src:.Debug Sym:"
  92. Making:        Shell.MAMake
  93. Compiling:     TMultiSet.cp
  94. Compiling:     TFMPDataDesc.cp
  95. Compiling:     TFMPMapParse.cp
  96. Compiling:     TFMPDataParse.cp
  97. Compiling:     UShell.cp
  98. Compiling:     MShell.cp
  99. Linking:       Shell
  100. Rezzing:       Shell.r
  101. PostRezzing:   Shell
  102.  "HD:MPW_Projects:Source_Code:Shell.src:.Debug Sym:Shell"  # <- Execute to run your application
  103. Completion time for MABuild is Thursday, May 24, 1990 10:59:21 AM
  104.  
  105.  
  106. And it works!!!!!
  107.  
  108. What is wrong?